package com.ljy.tkmodel.controller;


import com.alibaba.fastjson.JSONObject;
import com.ljy.tkmodel.entity.LjyZhuanshuoAnswerUser0;
import com.ljy.tkmodel.entity.vo.LjyZhuanshuoUserAnswerInfoVO;
import com.ljy.tkmodel.service.LjyZhuanshuoAnswerUser0Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.ArrayList;

/**
 * <p>
 * 答题记录 前端控制器
 * </p>
 *
 * @author testjava
 * @since 2022-01-10
 */
@RestController
@RequestMapping("/ljy-zhuanshuo-answer-user0")
public class LjyZhuanshuoAnswerUser0Controller {
    @Autowired
    private LjyZhuanshuoAnswerUser0Service answerUser0Service;

    @GetMapping("getUserAnswers")
        public ArrayList<LjyZhuanshuoAnswerUser0> getUserAnswers(HttpServletRequest request){
            return  answerUser0Service.selectUserAnswerInfo(request);
    }
}

